﻿using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyBank
{
    public class Account
    {
        public Account() { }
        public Account(int id, string name, string pwd)  // 含用户ID和姓名密码的构造函数
        {
            this.account_ID = id;
            this.account_Name = name;
            this.account_Password = pwd;
        }

        public int account_ID // 账户账号
        {
            set { account_ID = value; }
            get { return account_ID; }
        }

        public string account_Name // 户主姓名
        {
            set { account_Name = value; }
            get { return account_Name; }
        }

        public string account_Password // 账户密码
        {
            set { account_Password = value; }
            get { return account_Password; }
        }

        public double account_Tempbalance; // 账户临时钱包余额


        
    }
}
